import random
from string import lowercase as letters
lasthopes = [{'name':'mnogoru_lasthope_opened', 'value':True, 'path':'/'},\
             {'name':'thankyou_lasthope', 'value':True, 'path':'/'}]

reg_link = "span.g-link.g-pseudo.js-authPopup-register > span.g-pseudo-h"
rest_sel = "div.b-popup.mod_forgot"
def randomword(l1, l2):
    if l2: length = random.randrange(l1, l2)
    else: length = l1
    return ''.join(random.choice(letters) for i in range(length))

saved_big_pdata = {'fullname':"duzhbulat omar olegovich",\
                 'postcode':"556666",\
                 'street':"Lenina",\
                 'house':"1",\
                 'block':"2",\
                 'flat':"3",\
                 'floor':"4",\
                 'comment':"Comment"}
saved_small_pdata = {'phone':"+7 (975) 654-66-53",\
                   'email':"sotmail.sotm@yandex.ru",\
                   'fullname':"duzhbulat omag olegovich"}
